package com.xxgc.moriserver.api;

import com.dtflys.forest.annotation.Get;
import com.dtflys.forest.annotation.Query;
import com.xxgc.moriserver.api.response.WechatLoginApiResponse;

public interface WechatLoginApi {
    @Get("https://api.weixin.qq.com/sns/jscode2session")
    WechatLoginApiResponse getUserOpenId(
            @Query("appid") String appid,
            @Query("secret") String secret,
            @Query("js_code") String js_code,
            @Query("grant_type") String grant_type
    );

}
